﻿using System;

namespace Kryptonalysis.Rank
{
    /// <summary>
    /// LetterRnk that holds an additional sign-frequence
    /// </summary>
    public class FrequenceLetterRank : LetterRank
    {
        private int _Frequence;
        /// <summary>
        /// Gets or sets the frequence.
        /// </summary>
        /// <value>The frequence.</value>
        public int Frequence
        {
            get { return _Frequence; }
            set
            {
                _Frequence = value;
            }
        }

        /// <summary>
        /// Gets the rank.
        /// </summary>
        /// <value>The rank.</value>
        public int Rank
        {
            set
            {
                _Rank = value;
            }
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="FrequenceLetterRank"/> class.
        /// </summary>
        /// <param name="sign">The sign.</param>
        public FrequenceLetterRank(char sign) :
            base(0, sign)
        { }
        

    }
}
